package com.ruoyi.project.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 plt_user_order
 * 
 * @author ruoyi
 * @date 2020-07-27
 */
public class PltUserOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private Integer totalPay;

    /** 过期时间 */
    @Excel(name = "过期时间")
    private Long expireTime;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private Long payedTime;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Long createdTime;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setTotalPay(Integer totalPay) 
    {
        this.totalPay = totalPay;
    }

    public Integer getTotalPay() 
    {
        return totalPay;
    }
    public void setExpireTime(Long expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Long getExpireTime() 
    {
        return expireTime;
    }
    public void setPayedTime(Long payedTime) 
    {
        this.payedTime = payedTime;
    }

    public Long getPayedTime() 
    {
        return payedTime;
    }
    public void setCreatedTime(Long createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Long getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("orderStatus", getOrderStatus())
            .append("totalPay", getTotalPay())
            .append("expireTime", getExpireTime())
            .append("payedTime", getPayedTime())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
